<?php
define ('APPLICATION_PATH', realpath(dirname(__FILE__)));
define ('DEVELOPMENT',0);
define ("TAMTAY_SESSION_NAME", "SESSafa875ae2251b36adda3f248cc56d029");
define ("TAMTAY_COOKIE_DOMAIN", "tamtay.vn");
define ('MEMCACHEDB_ENABLED', 0);

/**** CACHE PREFIX ****/
define('GROUP_CACHE_PREFIX','group_');
define('FORUM_CACHE_PREFIX','forum_');

/** CAPTCHA **/
define ('CAPTCHA_FONT_PATH', '/var/www/domains/core.tamtay.vn/public/font/tahoma.ttf');
define ('CAPTCHA_IMAGE_PATH', '/var/www/domains/tamtay.vn/images/captcha');
define ('CAPTCHA_IMAGE_URL', '/images/captcha');
/** END CAPTCHA **/

/** IMAGES & THUMBNAIL **/
define ('IMAGE_SERVER', 'http://img.tamtay.vn/');
define ('NO_AVATAR_URL', 'http://img.tamtay.vn/themes/tt2_home_themes/images/nophoto.gif');

define ('VIDEO_THUMBNAIL_SERVER', 'http://v1.ttimg.vn/');

define ('LOGIN_URL','/user/login');

define ('PUBLIC_PATH', realpath(dirname(dirname(__FILE__)))."/public");
define ('IMAGE_DIR', "/data/photo");

define('MUSIC_THRIFT_SERVER','10.1.254.10');
define('MUSIC_THRIFT_PORT',9091);

define('VIDEO_THRIFT_SERVER','10.1.254.10');
define('VIDEO_THRIFT_PORT',9092);

define('PHOTO_THRIFT_SERVER','10.1.254.10');
define('PHOTO_THRIFT_PORT',9098);

define('APPLICATION_THRIFT_SERVER','10.1.254.10');
define('APPLICATION_THRIFT_PORT',9094);

define('BLOG_THRIFT_SERVER','10.1.254.10');
define('BLOG_THRIFT_PORT',9093);

define('MINIBLOG_THRIFT_SERVER','10.1.254.10');
define('MINIBLOG_THRIFT_PORT',9097);

define('DOCUMENT_BASE_URL','http://www.tamtay.vn/');

/**   PERMISSION CONSTANT    **/
define('MOD_GROUP','mod group');
define('ADMIN_GROUP','admin group');
define('MOD_FORUM','mod forum');
define('ADMIN_FORUM','admin forum');
define('HOROSCOPE_ADMIN','horoscope admin');
define('GIFT_ADMIN','gift admin');
define('WALL_ADMIN','wall admin');
define('KUTE_ADMIN','kute admin');

define('IDS_LOGIN_URL','http://ids.tamtay.vn/user/login');
define('IDS_LOGOUT_URL','http://ids.tamtay.vn/user/logout');
define('IDS_REGISTER_URL','http://ids.tamtay.vn/user/register');
